<div *ngIf="hero">
  <h2>{{hero.name}} Details</h2>
  <div><span>id: </span>{{hero.id}}</div>
  <div><span>name: </span>{{hero.name|uppercase}}</div>
  <div>
    <label>
      name: <input placeholder="name" [(ngModel)]="hero.name">
    </label>
  </div>
  <button (click)="goBack()">GoBack</button>
  <button (click)="save()">Save</button>
</div>
